package com.web.controller.common;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 图标相关
 *
 * @author liuyanlong
 */
@Controller
public class DemoController
{

    /**
     * FontAwesome图标
     */
    @GetMapping("demo")
    public String fontAwesome(ModelMap mmap)
    {
        mmap.put("copyrightYear", "copyrightYear");

        return  "demo";
    }
    /**
     * 单据打印
     */
    @GetMapping("/invoice")
    public String invoice()
    {
        return  "invoice";
    }


}
